﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace Team4Mock.UserControl.Service
{
    public partial class AmendSer : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            DataTable dt = new DataTable();
            dt.Columns.Add("ID");
            dt.Columns.Add("Organisation Name");
            dt.Columns.Add("Description");
            dt.Columns.Add("Roles");

            DataTable dt2 = new DataTable();
            dt2.Columns.Add("ID");
            dt2.Columns.Add("Premise Name");
            dt2.Columns.Add("Address");
            dt2.Columns.Add("Phone Number");
            dt2.Columns.Add("Project Code");

            dt.Rows.Add(1, "fdfsdfd", "dssggdfjsdbfsd", "Lead");
            dt.Rows.Add(2, "fdfsdfd", "dssggdfjsdbfsd", "Lead");
            dt.Rows.Add(3, "fdfsdfd", "dssggdfjsdbfsd", "Lead");
            dt.Rows.Add(4, "fdfsdfd", "dssggdfjsdbfsd", "Lead");

            dt2.Rows.Add(1, "fdsfnsd", "dasdasdas", "65656", "645645645");
            dt2.Rows.Add(2, "fdsfnsd", "dasdasdas", "65656", "645645645");
            dt2.Rows.Add(3, "fdsfnsd", "dasdasdas", "65656", "645645645");
            dt2.Rows.Add(4, "fdsfnsd", "dasdasdas", "65656", "645645645");

            gvOrg.DataSource = dt;
            gvOrg.DataBind();

            gvPremise.DataSource = dt2;
            gvPremise.DataBind();

        }
        protected void btnBack_Click(object sender, EventArgs e)
        {
            Response.Redirect("/FormView/Service.aspx");
        }
    }
}